//
//  OneCustomCell.m
//  JinChengYun
//
//  Created by 金橙云 on 2017/3/28.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import "OneCustomCell.h"

@implementation OneCustomCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _oneLab = [[UILabel alloc] init];
        _oneLab.textColor = [UIColor blackColor];
        _oneLab.font = [UIFont systemFontOfSize:12];
        _oneLab.text = @"房源位置:";
        [self addSubview:_oneLab];
        [_oneLab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.size.mas_equalTo(CGSizeMake(80, 20));
            make.left.mas_equalTo(self.mas_left).offset(12);
            make.top.mas_equalTo(self.mas_top).offset(10);
        }];
        
        _twoLab = [[UILabel alloc] init];
        _twoLab.textColor = [UIColor blackColor];
        _twoLab.font = [UIFont systemFontOfSize:12];
       // _twoLab.text = @"9号楼2209";
        [self addSubview:_twoLab];
        [_twoLab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.size.mas_equalTo(CGSizeMake(200, 20));
            make.left.mas_equalTo(_oneLab.mas_right).offset(15);
            make.top.mas_equalTo(self.mas_top).offset(10);
        }];
        

        
        
        
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
